package SimpleFactory.bll;

//只实现加法功能
//封装：只给予外界最小的访问权限
public class AddOperation extends Operation {
//	private double numberA,numberB;
//	public void setValues(double numberA,double numberB) {
//		this.numberA = numberA;
//		this.numberB = numberB;
//	}
	public double getresult(){
		return numberA+numberB;
	}
}
